package com.ruoyi.module.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 考试题目对象 fu_exam_questions
 *
 * @author fubojin
 * @date 2025-03-05
 */
@Data
@ApiModel(value = "考试题目")
@EqualsAndHashCode(callSuper = true)
public class ExamQuestions extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 题类型（1-单选题，2-多选题，3-判断题）
     */
    @Excel(name = "题类型", readConverterExp = "1=-单选题，2-多选题，3-判断题")
    @ApiModelProperty(value = "题类型（1-单选题，2-多选题，3-判断题）")
    private Integer type;

    /**
     * 题目类型（1-初级，2-初高级，3-高级）
     */
    @Excel(name = "题类型", readConverterExp = "题目类型（1-初级，2-初高级，3-高级）")
    @ApiModelProperty(value = "题目类型（1-初级，2-初高级，3-高级）")
    private Integer examType;

    /**
     * 题内容
     */
    @Excel(name = "题内容")
    @ApiModelProperty(value = "题内容")
    private String content;

    /**
     * 选项A
     */
    @Excel(name = "选项A")
    @ApiModelProperty(value = "选项A")
    private String optionA;

    /**
     * 选项B
     */
    @Excel(name = "选项B")
    @ApiModelProperty(value = "选项B")
    private String optionB;

    /**
     * 选项C
     */
    @Excel(name = "选项C")
    @ApiModelProperty(value = "选项C")
    private String optionC;

    /**
     * 选项D
     */
    @Excel(name = "选项D")
    @ApiModelProperty(value = "选项D")
    private String optionD;

    /**
     * 正确答案
     */
    @Excel(name = "正确答案")
    @ApiModelProperty(value = "正确答案")
    private String answer;

    /**
     * 题目分值
     */
    @Excel(name = "题目分值")
    @ApiModelProperty(value = "题目分值")
    private String score;


}
